/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.shinyray.project;

import com.shinyray.org.entity.Orgnization;
import com.shinyray.project.entity.CPP;
import com.shinyray.project.entity.CPPSignIn;
import java.util.List;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author Administrator
 */
@Stateless
public class CPPServiceBean implements CPPServiceRemote, CPPServiceLocal {
    @PersistenceContext(unitName="ProjectAdminPU")
    private EntityManager em;

    public boolean registerCPP(CPP cpp) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public boolean signCPP(String cppCode, CPPSignIn signInfo) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public List<Orgnization> getNotSignedOutParteners(long CPPID) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public List<Orgnization> getNotSignInParteners(long CPPID) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public List<Orgnization> getSignInPartenres(long CPPID) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void persist(Object object) {
        em.persist(object);
    }
    

 
}
